package com.kws.system.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import org.apache.poi.ss.formula.functions.T;

import java.io.Serializable;
import java.util.Date;

/**
 * <b>TbDeviceRemark</b>
 *
 * @description: TbDeviceRemark <br>
 * @date: 2024/11/18 18:22 <br>
 * @author: lhm <br>
 * @version: 1.0 <br>
 */
public class TbDeviceRemark implements Serializable {
    @ApiModelProperty(value = "主键ID")
    @TableId(type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "上级id，默认为0")
    private Long pid;

    @ApiModelProperty(value = "商户ID")
    private Long merchantId;

    @ApiModelProperty(value = "内容")
    private String remark;

    @ApiModelProperty(value = "评价图片")
    private String remarkImg;

    @ApiModelProperty(value = "标签0还不错 1一般")
    private Integer tag;

    @ApiModelProperty(value = "设备ID")
    private Long deviceId;

    @ApiModelProperty(value = "创建日期")
    private Date createTime;

    @ApiModelProperty(value = "评论者")
    private Long observer;

    @ApiModelProperty(value = "评论者手机")
    private String observerPhone;

    @ApiModelProperty(value = "评分")
    private Double score;

    @ApiModelProperty(value = "评价类型:0-服务，1-设备")
    private String remarkType;

    @ApiModelProperty(value = "创建用户")
    private String createUser;

    @ApiModelProperty(value = "修改用户")
    private String updateUser;

    @ApiModelProperty(value = "可用状态：0-不可用，1-可用")
    private String enable;

    private static final long serialVersionUID = 1L;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getPid() {
        return pid;
    }

    public void setPid(Long pid) {
        this.pid = pid;
    }

    public Long getMerchantId() {
        return merchantId;
    }

    public void setMerchantId(Long merchantId) {
        this.merchantId = merchantId;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getRemarkImg() {
        return remarkImg;
    }

    public void setRemarkImg(String remarkImg) {
        this.remarkImg = remarkImg;
    }

    public Integer getTag() {
        return tag;
    }

    public void setTag(Integer tag) {
        this.tag = tag;
    }

    public Long getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(Long deviceId) {
        this.deviceId = deviceId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Long getObserver() {
        return observer;
    }

    public void setObserver(Long observer) {
        this.observer = observer;
    }

    public String getObserverPhone() {
        return observerPhone;
    }

    public void setObserverPhone(String observerPhone) {
        this.observerPhone = observerPhone;
    }

    public Double getScore() {
        return score;
    }

    public void setScore(Double score) {
        this.score = score;
    }

    public String getRemarkType() {
        return remarkType;
    }

    public void setRemarkType(String remarkType) {
        this.remarkType = remarkType;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public String getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
    }

    public String getEnable() {
        return enable;
    }

    public void setEnable(String enable) {
        this.enable = enable;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", pid=").append(pid);
        sb.append(", merchantId=").append(merchantId);
        sb.append(", remark").append(remark);
        sb.append(", remarkImg=").append(remarkImg);
        sb.append(", tag").append(tag);
        sb.append(", deviceId=").append(deviceId);
        sb.append(", observer=").append(observer);
        sb.append(", score").append(score);
        sb.append(", remarkType=").append(remarkType);
        sb.append(", enable").append(enable);
        sb.append(", createUser=").append(createUser);
        sb.append(", updateUser").append(updateUser);
        sb.append(", createTime=").append(createTime);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}
